<template>
  <div>
    <ol>
      <li>
        消息编号: {{id}}
      </li>
      <li>
        消息标题: {{title}}
      </li>
    </ol>
  </div>
</template>

<script>
export default {
  name: 'Detail',
  computed: {
    id() {
      return this.$route.query.id
    },
    title() {
      return this.$route.query.title
    }
  }
}
</script>